package com.system.healthproject.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@ApiModel
public class DiseaseLog {
    @ApiModelProperty(name = "diseaselogId",notes = "病情日志id")
    private Integer diseaselogId;
    @NotBlank
    @ApiModelProperty(name = "diseaselogContent",notes = "病情日志内容")
    private String diseaselogContent;
    @NotBlank
    @ApiModelProperty(name = "diseaselogImgs",notes = "图片地址以逗号隔开")
    private String diseaselogImgs;
    @NotBlank
    @ApiModelProperty(name = "diseaselogVideo",notes = "视频地址")
    private String diseaselogVideo;
    @ApiModelProperty(hidden = true)
    private Integer loginId;
    @ApiModelProperty(name = "createtime",notes = "创建时间")
    private Date createtime;

    public Integer getLoginId() {
        return loginId;
    }

    public void setLoginId(Integer loginId) {
        this.loginId = loginId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column diseaseLog.diseaseLog_id
     *
     * @return the value of diseaseLog.diseaseLog_id
     *
     * @mbg.generated
     */
    public Integer getDiseaselogId() {
        return diseaselogId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column diseaseLog.diseaseLog_id
     *
     * @param diseaselogId the value for diseaseLog.diseaseLog_id
     *
     * @mbg.generated
     */
    public void setDiseaselogId(Integer diseaselogId) {
        this.diseaselogId = diseaselogId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column diseaseLog.diseaseLog_content
     *
     * @return the value of diseaseLog.diseaseLog_content
     *
     * @mbg.generated
     */
    public String getDiseaselogContent() {
        return diseaselogContent;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column diseaseLog.diseaseLog_content
     *
     * @param diseaselogContent the value for diseaseLog.diseaseLog_content
     *
     * @mbg.generated
     */
    public void setDiseaselogContent(String diseaselogContent) {
        this.diseaselogContent = diseaselogContent == null ? null : diseaselogContent.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column diseaseLog.diseaseLog_imgs
     *
     * @return the value of diseaseLog.diseaseLog_imgs
     *
     * @mbg.generated
     */
    public String getDiseaselogImgs() {
        return diseaselogImgs;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column diseaseLog.diseaseLog_imgs
     *
     * @param diseaselogImgs the value for diseaseLog.diseaseLog_imgs
     *
     * @mbg.generated
     */
    public void setDiseaselogImgs(String diseaselogImgs) {
        this.diseaselogImgs = diseaselogImgs == null ? null : diseaselogImgs.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column diseaseLog.diseaseLog_video
     *
     * @return the value of diseaseLog.diseaseLog_video
     *
     * @mbg.generated
     */
    public String getDiseaselogVideo() {
        return diseaselogVideo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column diseaseLog.diseaseLog_video
     *
     * @param diseaselogVideo the value for diseaseLog.diseaseLog_video
     *
     * @mbg.generated
     */
    public void setDiseaselogVideo(String diseaselogVideo) {
        this.diseaselogVideo = diseaselogVideo == null ? null : diseaselogVideo.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column diseaseLog.createTime
     *
     * @return the value of diseaseLog.createTime
     *
     * @mbg.generated
     */
    public Date getCreatetime() {
        return createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column diseaseLog.createTime
     *
     * @param createtime the value for diseaseLog.createTime
     *
     * @mbg.generated
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}
